/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package model;

import java.util.Date;

/**
 *
 * @author Luci
 */


public class Data {
    private String lastFileData;
    private boolean autoStart;
    private boolean minimized;
    private boolean language;
    public Data(){
        
        
    }
    public ListTaskGroup readData(){
        ListTaskGroup tg = new ListTaskGroup();
        tg.add(new TaskGroup("Công ty","C:\\Users\\Luci\\Documents\\NetBeansProjects\\Task4\\Image\\create.png"));
        tg.getAt(0).add(new Task("Họp phòng nhân sự",0,0,"Bàn về những điều chỉnh nhân sự trong tháng tới","Thuyết trình",new Date(),new Date()));
        tg.add(new TaskGroup("Gia đình","C:\\Users\\Luci\\Documents\\NetBeansProjects\\Task4\\Image\\create.png"));
        return tg;
    }
    public void saveData(ListTaskGroup list){
        
    }
    public void readSetting(){
        
    }
    public void saveSetting(){
        
    }
}
